/*    file: PlayerControl.h
 *    desc:
 *   
 * created: 2014-01-21 11:28:02
 *  author: zhengchuanjiang
 * company: 
 */ 


#if !defined PLAYERCONTROL_H_
#define PLAYERCONTROL_H_

////////////////////////////////////////////////////////////////////////////
class PlayerControl
{
public:
    virtual ~PlayerControl() {}

    virtual int play() =0;
    virtual int pause() =0;
    virtual void stop() =0;

    virtual int64_t getDuration() =0;
    
    virtual int64_t getTime() =0;

    virtual int seek(int64_t ts) =0;

    virtual bool isFullscreen() =0;

    virtual int setFullscreen(bool full) =0;

    virtual double getVolume() =0;

    virtual int setVolume(double vol) =0;

    virtual bool isMute() =0;

    virtual int setMute(bool muted) =0;

    virtual int fast() =0;

    virtual int slow() =0;

    virtual double getScale() =0;


};
////////////////////////////////////////////////////////////////////////////
#endif //PLAYERCONTROL_H_

